package com.example.prison.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 *
 * @TableName system_info
 */
@TableName(value ="system_info")
@Data
public class SystemInfo implements Serializable {
    /**
     *
     */
    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 刷新时间
     */
    @ApiModelProperty(value = "刷新时间")
    @TableField(value = "refresh_time")
    private Integer refreshTime;

    /**
     * 网关地址
     */
    @ApiModelProperty(value = "网关地址")
    @TableField(value = "gateway_address")
    private String gatewayAddress;

    /**
     * 网关端口
     */
    @ApiModelProperty(value = "网关端口")
    @TableField(value = "gateway_port")
    private String gatewayPort;

    /**
     * 触网处理方式（连续/脉冲）
     */
    @ApiModelProperty(value = "触网处理方式（连续/脉冲）")
    @TableField(value = "pulse_solve")
    private String pulseSolve;

    /**
     * 冲击时间间隔
     */
    @ApiModelProperty(value = "冲击时间间隔")
    @TableField(value = "pulse_time")
    private String pulseTime;

    /**
     * 脉冲打击电量
     */
    @ApiModelProperty(value = "脉冲打击电量")
    @TableField(value = "pulse_current")
    private String pulseCurrent;

    /**
     * 高压额定电压
     */
    @ApiModelProperty(value = "高压额定电压")
    @TableField(value = "high_rated_voltage")
    private String highRatedVoltage;

    /**
     * 输入电源额定电压
     */
    @ApiModelProperty(value = "输入电源额定电压")
    @TableField(value = "rated_voltage")
    private String ratedVoltage;

    /**
     * 输入电源电流值
     */
    @ApiModelProperty(value = "输入电源电流值")
    @TableField(value = "rated_current")
    private String ratedCurrent;

    /**
     * 防区
     */
    @TableField(value = "defense")
    private String defense;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
